package com.itmumu.miniwechat.user.domain.dto;

import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotEmpty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class LoginInfoVo {

    @NotEmpty(message = "校验码不能为空")
    String checkCodeKey;

    @NotEmpty(message = "邮箱不能为空") @Email
    String email;

    @NotEmpty(message = "密码不能为空")
    String password;

    @NotEmpty(message = "验证码不能为空")
    String checkCode;
}
